<style>
    input[type^="search"] {
        min-width: 300px;
    }
</style>
<label ng-if="$ctrl.label != undefined">{{ $ctrl.label }}</label>
<ui-select ng-model="$ctrl.select" ng-change="$ctrl.selectThis($ctrl.select)" style="width:{{$ctrl.widthdata }};">
    <ui-select-match placeholder="搜索...">{{$select.selected[$ctrl.optiondata]}}</ui-select-match>
    <ui-select-choices repeat="x in $ctrl.datalist | filter: $select.search|limitTo:15">
        <span ng-bind-html="x[$ctrl.optiondata] | highlight: $select.search"></span>
    </ui-select-choices>
</ui-select>